/**
 * 
 */
package fr.mynounou.entities;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * @author btavernier
 *
 */
@Entity
@PrimaryKeyJoinColumn(name="ID_FICHIER")
public class Photo extends Fichier {
	
	@Temporal(TemporalType.DATE)
	Date datePriseDeVue;

	/**
	 * @return the datePriseDeVue
	 */
	public Date getDatePriseDeVue() {
		return datePriseDeVue;
	}
	/**
	 * @param datePriseDeVue the datePriseDeVue to set
	 */
	public void setDatePriseDeVue(Date datePriseDeVue) {
		this.datePriseDeVue = datePriseDeVue;
	}
	
}
